from graph import graph

graph.get_graph().print_ascii()

question = "How can I directly pass a string to a runnable and use it to construct the input needed for my prompt?"
solution = graph.invoke({"messages": [("user", question)], "iterations": 0, "error": ""})